Release 10.1A: OpenEdge Development:
Programming Interfaces
Passing error codes back to Progress
You can use HLC library functions to pass a specific error code from your C function to Progress and test it for a specific value. To do this, define a shared variable within your Progress procedure to hold the error code value. Within your C function, set the shared variable with an HLC library function before returning to Progress. In the code fragment above, the shared variable
errcodeholds the error code value.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |